<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<div class="content_container">
    <div id="team">
       
        <div id="teamname_title"><?= $user['details']['team_name']; ?></div>
        <div id="team_members">
             Edit your team members' name<br/><br/>
            <?php echo form_open('profile/edit_members/submit'); ?>
            <div class="membername_edit">
                <div id="membername1"><?= $user['members']['member_name_1'] ?></div>
                <?php echo form_input($form['new_membername_1']) ;?>
                <div class="change_name"><a href="javascript:showNewName1();">Edit</a></div>
            </div>
            <div class="membername_edit">
                <div id="membername2"><?= $user['members']['member_name_2'] ?></div>
                <?php echo form_input($form['new_membername_2']) ;?>
                <div class="change_name"><a href="javascript:showNewName2();">Edit</a></div>
            </div>
            <div class="membername_edit">
                <div id="membername3"><?= $user['members']['member_name_3'] ?></div>
                <?php echo form_input($form['new_membername_3']) ;?>
                <div class="change_name"><a href="javascript:showNewName3();">Edit</a></div>
            </div>
            <div class="membername_edit">
                <div id="membername4"><?= $user['members']['member_name_4'] ?></div>
                <?php echo form_input($form['new_membername_4']) ;?>
                <div class="change_name"><a href="javascript:showNewName4();">Edit</a></div>
            </div>
             <div id="submit_name">
                 <?php echo form_submit('submit_name', 'Submit'); ?>
             </div>
            <?php form_close(); ?>
        </div>
    </div>
</div>

